package com.chenyaowei.member.domain;

import java.math.BigDecimal;
import com.chenyaowei.common.annotation.Excel;
import com.chenyaowei.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员等级对象 cyw_member_level
 * 
 * @author chenyaowei
 * @date 2023-11-28
 */
public class CywMemberLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String name;

    /** 等级需要的成长值 */
    @Excel(name = "等级需要的成长值")
    private Long growthPoint;

    /** 是否为默认等级[0-&gt;不是；1-&gt;是] */
    @Excel(name = "是否为默认等级[0-&gt;不是；1-&gt;是]")
    private Integer defaultStatus;

    /** 免运费标准 */
    @Excel(name = "免运费标准")
    private BigDecimal freeFreightPoint;

    /** 每次评价获取的成长值 */
    @Excel(name = "每次评价获取的成长值")
    private Long commentGrowthPoint;

    /** 是否有免邮特权 */
    @Excel(name = "是否有免邮特权")
    private Integer priviledgeFreeFreight;

    /** 是否有生日特权 */
    @Excel(name = "是否有生日特权")
    private Integer priviledgeBirthday;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    @Excel(name = "等级")
    private Integer level;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGrowthPoint(Long growthPoint) 
    {
        this.growthPoint = growthPoint;
    }

    public Long getGrowthPoint() 
    {
        return growthPoint;
    }
    public void setDefaultStatus(Integer defaultStatus) 
    {
        this.defaultStatus = defaultStatus;
    }

    public Integer getDefaultStatus() 
    {
        return defaultStatus;
    }
    public void setFreeFreightPoint(BigDecimal freeFreightPoint) 
    {
        this.freeFreightPoint = freeFreightPoint;
    }

    public BigDecimal getFreeFreightPoint() 
    {
        return freeFreightPoint;
    }
    public void setCommentGrowthPoint(Long commentGrowthPoint) 
    {
        this.commentGrowthPoint = commentGrowthPoint;
    }

    public Long getCommentGrowthPoint() 
    {
        return commentGrowthPoint;
    }
    public void setPriviledgeFreeFreight(Integer priviledgeFreeFreight) 
    {
        this.priviledgeFreeFreight = priviledgeFreeFreight;
    }

    public Integer getPriviledgeFreeFreight() 
    {
        return priviledgeFreeFreight;
    }
    public void setPriviledgeBirthday(Integer priviledgeBirthday) 
    {
        this.priviledgeBirthday = priviledgeBirthday;
    }

    public Integer getPriviledgeBirthday() 
    {
        return priviledgeBirthday;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return "CywMemberLevel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", growthPoint=" + growthPoint +
                ", defaultStatus=" + defaultStatus +
                ", freeFreightPoint=" + freeFreightPoint +
                ", commentGrowthPoint=" + commentGrowthPoint +
                ", priviledgeFreeFreight=" + priviledgeFreeFreight +
                ", priviledgeBirthday=" + priviledgeBirthday +
                ", note='" + note + '\'' +
                ", level=" + level +
                '}';
    }
}
